package com.yuandian.api.business_monitor.po;

import lombok.Data;

import java.io.Serializable;

/**
 * 脱敏字段配置表
 *
 * @author: tangqingchun
 * @date: 2020-05-21
 */
@Data
public class DataMaskConfig implements Serializable {
    /**
     * id
     */
    private Integer id;
    /**
     * 脱敏字段名称
     */
    private String name;
    /**
     * 脱敏字段编码
     */
    private String code;
    /**
     * 脱敏开始位置
     */
    private Integer startIndex;
    /**
     * 脱敏长度
     */
    private Integer length;
    /**
     * 展示是否脱敏 1:脱敏 0:不脱敏
     */
    private Integer showFlag;
    /**
     * 导出是否脱敏 1:脱敏 0:不脱敏
     */
    private Integer exportFlag;

    @Override
    public String toString() {
        return "DataMaskConfig{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", startIndex='" + startIndex + '\'' +
                ", length='" + length + '\'' +
                ", showFlag='" + showFlag + '\'' +
                ", exportFlag='" + exportFlag + '\'' +
                '}';
    }
}
